home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / bibtex / utils / bibclean / xpwd.h < prev    next >
C/C++ Source or Header  |  1992-10-18  |  2KB  |  83 lines

  1. /* -*-C-*- xpwd.h */
  2. /**********************************************************************/
  3. /******************************* xpwd ********************************/
  4. /**********************************************************************/
  5.  
  6. /* $Id: xpwd.h,v 1.6 1992/10/08 01:42:01 beebe Exp beebe $ 
  7.  * $Log: xpwd.h,v $
  8.  * Revision 1.6  1992/10/08  01:42:01  beebe
  9.  * Update for C++.
  10.  *
  11.  * Revision 1.5  1992/03/10  14:13:53  beebe
  12.  * *** empty log message ***
  13.  *
  14.  * Revision 1.4  1992/03/06  14:56:35  beebe
  15.  * Complete two-month long development of version 3.0.114.  See
  16.  * 00revhst.txt for details.
  17.  *
  18.  * Revision 1.4  1992/03/06  14:56:35  beebe
  19.  * Complete two-month long development of version 3.0.114.  See
  20.  * 00revhst.txt for details.
  21.  *
  22.  * Revision 1.3  1992/03/01  01:28:38  beebe
  23.  * *** empty log message ***
  24.  *
  25.  * Revision 1.2  1992/02/29  19:42:20  beebe
  26.  * Update for version 3.0.114 [29-Feb-1992] following two-month
  27.  * major overhaul and compilation testing on numerous machines.
  28.  *
  29.  * Revision 1.1  1992/02/29  19:13:31  beebe
  30.  * Initial revision
  31.  *
  32.  * Revision 1.1  1992/02/29  19:13:31  beebe
  33.  * Initial revision
  34.  *
  35.  */
  36.  
  37. #ifndef XPWD_H_DEFINED_
  38. #define XPWD_H_DEFINED_
  39.  
  40. /***********************************************************************
  41. This file includes the system pwd.h file and supplies missing prototypes.
  42. ***********************************************************************/
  43.  
  44. #ifndef OS_H_DEFINED_
  45. #include "os.h"
  46. #endif /* OS_H_DEFINED_ */
  47.  
  48. #include "xtypes.h"
  49.  
  50. #if HAVE_PWD_H
  51. #include <pwd.h>
  52. #endif /* HAVE_PWD_H */
  53.  
  54. #if !__cplusplus
  55. #if !HAVE_GETLOGIN_DCL
  56. char            *getlogin ARGS((void));
  57. #endif /* HAVE_GETLOGIN_DCL */
  58.  
  59. #if !HAVE_GETPWNAM_DCL
  60. struct passwd        *getpwnam ARGS((const char* name_));
  61.                     /* missing in host pwd.h */
  62. #endif /* !HAVE_GETPWNAM_DCL */
  63.  
  64. #if !HAVE_GETPWUID_DCL
  65. struct passwd        *getpwuid ARGS((int uid_));
  66. #endif /* HAVE_GETPWUID_DCL */
  67.  
  68. #if !HAVE_GETUID_DCL
  69. int            getuid ARGS((void));
  70. #endif /* !HAVE_GETUID_DCL */
  71. #endif /* !__cplusplus */
  72.  
  73. #if __GNUC__ && __cplusplus
  74. #if !HAVE_GETUID_DCL
  75. extern "C" 
  76. {
  77. int            getuid ARGS((void));
  78. };
  79. #endif /*  __GNUC__ && __cplusplus */
  80. #endif /* !HAVE_GETUID_DCL */
  81.  
  82. #endif /* XPWD_H_DEFINED_ */
  83.